<?php
/**
 * Created by PhpStorm.
 * User: zsd
 * Date: 2016/11/8
 * Time: 14:58
 * Email:zsd_it@163.com
 */
namespace app\index\controller;

use think\Controller;

class Home extends Controller{

    public function _initialize()
    {
        parent::_initialize();

        //替换输出功能,这里用来处理处理 路径
        $this->view->replace([
            '__CSS__'   => '/public/app/css/',
            '__JS__'    => '/public/app/js/',
            '__IMAGES__'=> '/public/app/images/',
            '__FONTS__' => '/public/app/fonts/',
        ]);
    }


}